/** 基础通用样式 **/

/* 布局相关 */
.block {
  display: block;
}

.inlineBlock {
  display: block;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.overflow-hidden {
  overflow: hidden;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
  }
}

/* Flex 布局 */
.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-1 {
  flex: 1;
}

.flex-shrink {
  flex-shrink: 0;
}

/* Flex 水平对齐 */
.flex-jc-center {
  justify-content: center;
}

.flex-jc-start {
  justify-content: flex-start;
}

.flex-jc-end {
  justify-content: flex-end;
}

.flex-sb {
  justify-content: space-between;
}

.flex-sa {
  justify-content: space-around;
}

/* Flex 垂直对齐 */
.flex-ai-center {
  align-items: center;
}

.flex-ai-start {
  align-items: flex-start;
}

/* Flex 内容对齐 */
.flex-ac-start {
  align-content: flex-start;
}

.flex-content-start {
  align-content: flex-start;
}

.flex-ac-sb {
  align-content: space-between;
}

/* Flex 自对齐 */
.flex-self-start {
  align-self: flex-start;
}

.flex-self-end {
  align-self: flex-end;
}

/* 文本相关 */
.text-left,
.ta-l {
  text-align: left;
}

.text-center,
.ta-c {
  text-align: center;
}

.text-right,
.ta-r {
  text-align: right;
}

.text-underline {
  text-decoration: underline;
}

/* 文本溢出 */
.overflow-ellipsis {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.3;
}

.overflow-two-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
}

.overflow-three-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
}

/* 字体大小 */
.f-10 {
  font-size: 10px !important;
}

.f-12 {
  font-size: 12px !important;
}

.f-14 {
  font-size: 14px !important;
}

.f-16 {
  font-size: 16px !important;
}

.f-17 {
  font-size: 17px !important;
}

.f-18 {
  font-size: 18px !important;
}

.f-19 {
  font-size: 19px !important;
}

.f-20 {
  font-size: 20px !important;
}

.f-22 {
  font-size: 22px !important;
}

.f-24 {
  font-size: 24px !important;
}

.f-28 {
  font-size: 28px !important;
}

.f-30 {
  font-size: 30px !important;
}

.f-32 {
  font-size: 32px !important;
}

.f-34 {
  font-size: 34px !important;
}

.f-36 {
  font-size: 36px !important;
}

.f-40 {
  font-size: 40px !important;
}

/* 字体粗细 */
.fw-500 {
  font-weight: 500 !important;
}

.fw-b,
.f-bold {
  font-weight: bold;
}

/* 行高 */
.lh-20 {
  line-height: 20px !important;
}

.lh-22 {
  line-height: 22px !important;
}

.lh-24 {
  line-height: 24px !important;
}

.lh-26 {
  line-height: 26px !important;
}

/* 颜色相关 */
.c-primary {
  color: $primary-color !important;
}

.c-00 {
  color: #000000;
}

.c-22 {
  color: #222222 !important;
}

.c-33,
.c-3E {
  color: #333333 !important;
}

.c-55 {
  color: #555555 !important;
}

.c-66 {
  color: #666666 !important;
}

.c-88 {
  color: #888888 !important;
}

.c-99 {
  color: #999999 !important;
}

.c-ff {
  color: #ffffff !important;
}

.c-E5 {
  color: #e5e8ef;
}

.c-8F {
  color: #8f9bb4;
}

.c-8F9BB3 {
  color: #8f9bb3 !important;
}

.c-d7 {
  color: #d7d7d7;
}

/* 状态颜色 */
.c-running {
  color: #2F5AFF;
}

.c-terminated {
  color: #D20D0D;
}

.c-completed {
  color: #00B526;
}

.c-canceled {
  color: #B8B8B8;
}

/* 功能性颜色 */
.c-blue {
  color: #0194f6 !important;
}

.c-FFB400 {
  color: #ffb400 !important;
}

.c-FFC600 {
  color: #ffc600;
}

.c-F28900 {
  color: #f28900 !important;
}

.c-09AA01 {
  color: #09aa01 !important;
}

.c-EE0000 {
  color: #ee0000 !important;
}

.c-F20000 {
  color: #f20000 !important;
}

.c-FF0000,
.c-ff0000 {
  color: #ff0000 !important;
}

.c-e4 {
  color: #e40000;
}

.c-fb {
  color: #fb0000;
}

.c-0069EA {
  color: #0069ea !important;
}

.c-0096FF {
  color: #0096ff !important;
}

.m-red {
  color: #FF0000;
}

.m-blue {
  color: $primary-color;
}

.m-green {
  color: #04AE00;
}

.m-gray {
  color: #888888;
}

.m-yellow {
  color: #FFA200;
}

/* 背景色 */
.bgc-primary {
  background-color: $primary-color !important;
}

.bgc-00 {
  background-color: #000000 !important;
}

.bgc-ff {
  background-color: #ffffff !important;
}

.bgc-f5 {
  background-color: #f5f5f5 !important;
}

.bgc-f7 {
  background-color: #f7f7f7 !important;
}

.bgc-e6 {
  background-color: #e6e6e6 !important;
}

.bgc-F8F9FB {
  background-color: #F8F9FB;
}

.bgc-99 {
  background-color: #999999;
}

.bgc-EE0000 {
  background-color: #ee0000;
}

.bgc-09AA01 {
  background-color: #09aa01;
}

.bgc-8F9BB3 {
  background-color: #8f9bb3;
}

.bgc-0069EA {
  background-color: #0069ea !important;
}

/* 状态背景色 */
.bgc-running {
  background-color: #2F5AFF;
}

.bgc-terminated {
  background-color: #D20D0D;
}

.bgc-completed {
  background-color: #00B526;
}

.bgc-canceled {
  background-color: #B8B8B8;
}

/* 间距 - 内边距 */
.no-padding {
  padding: 0px !important;
}

.p20 {
  padding: 20px;
}

.p30 {
  padding: 30px;
}

/* 左内边距 */
.pl-5 {
  padding-left: 5px;
}

.pl10,
.pl-10 {
  padding-left: 10px;
}

.pl-15 {
  padding-left: 15px !important;
}

.pl20,
.pl-20 {
  padding-left: 20px;
}

.pl-25 {
  padding-left: 25px !important;
}

.pl30,
.pl-30 {
  padding-left: 30px;
}

/* 右内边距 */
.pr5 {
  padding-right: 5px;
}

.pr-5 {
  padding-right: 5px;
}

.pr-15 {
  padding-right: 15px !important;
}

.pr30,
.pr-30 {
  padding-right: 30px;
}

/* 左右内边距 */
.plr-20 {
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.plr-25 {
  padding-left: 25px !important;
  padding-right: 25px !important;
}

/* 上内边距 */
.pt5 {
  padding-top: 5px;
}

.pt-15 {
  padding-top: 15px !important;
}

.pt-20 {
  padding-top: 20px !important;
}

.pt-30 {
  padding-top: 30px !important;
}

.pt-40 {
  padding-top: 40px !important;
}

.pt-50 {
  padding-top: 50px !important;
}

.pt-60 {
  padding-top: 60px !important;
}

/* 下内边距 */
.pb5,
.pb-5 {
  padding-bottom: 5px;
}

.pb-10 {
  padding-bottom: 10px !important;
}

.pb-20 {
  padding-bottom: 20px !important;
}

.pb-30 {
  padding-bottom: 30px !important;
}

/* 间距 - 外边距 */
.mg-auto {
  margin: auto !important;
}

.mg0auto {
  margin: 0 auto !important;
}

/* 上外边距 */
.mt5,
.mt-5 {
  margin-top: 5px;
}

.mt10,
.mt-10 {
  margin-top: 10px;
}

.mt15,
.mt-15 {
  margin-top: 15px;
}

.mt20,
.mt-20 {
  margin-top: 20px;
}

.mt25,
.mt-25 {
  margin-top: 25px;
}

.mt30,
.mt-30 {
  margin-top: 30px;
}

.mt-35 {
  margin-top: 35px !important;
}

.mt40,
.mt-40 {
  margin-top: 40px;
}

.mt50,
.mt-50 {
  margin-top: 50px;
}

.mt-60 {
  margin-top: 60px !important;
}

.mt-70 {
  margin-top: 70px !important;
}

/* 右外边距 */
.mr5,
.mr-5 {
  margin-right: 5px;
}

.mr6 {
  margin-right: 6px;
}

.mr-8 {
  margin-right: 8px !important;
}

.mr10,
.mr-10 {
  margin-right: 10px;
}

.mr15,
.mr-15 {
  margin-right: 15px;
}

.mr20,
.mr-20 {
  margin-right: 20px;
}

.mr25,
.mr-25 {
  margin-right: 25px !important;
}

.mr-30 {
  margin-right: 30px !important;
}

.mr-40 {
  margin-right: 40px !important;
}

.mr50,
.mr-50 {
  margin-right: 50px;
}

.mr-60 {
  margin-right: 60px !important;
}

.mr80 {
  margin-right: 80px;
}

/* 下外边距 */
.mb5,
.mb-5 {
  margin-bottom: 5px;
}

.mb8 {
  margin-bottom: 8px;
}

.mb10,
.mb-10 {
  margin-bottom: 10px;
}

.mb15,
.mb-15 {
  margin-bottom: 15px;
}

.mb20,
.mb-20 {
  margin-bottom: 20px;
}

.mb25,
.mb-25 {
  margin-bottom: 25px;
}

.mb-30,
.mb30 {
  margin-bottom: 30px;
}

.mb-50,
.mb50 {
  margin-bottom: 50px;
}

/* 左外边距 */
.ml5,
.ml-5 {
  margin-left: 5px;
}

.ml-8 {
  margin-left: 8px !important;
}

.ml10,
.ml-10 {
  margin-left: 10px;
}

.ml12 {
  margin-left: 12px !important;
}

.ml15,
.ml-15 {
  margin-left: 15px;
}

.ml20,
.ml-20 {
  margin-left: 20px;
}

.ml-25 {
  margin-left: 25px !important;
}

.ml30,
.ml-30 {
  margin-left: 30px;
}

.ml-40 {
  margin-left: 40px !important;
}

.ml50,
.ml-50 {
  margin-left: 50px;
}

.ml-60 {
  margin-left: 60px !important;
}

.ml-70 {
  margin-left: 70px !important;
}

.ml80,
.ml-80 {
  margin-left: 80px;
}

/* 尺寸 - 宽度 */
.w-100vw {
  width: 100% !important;
}

.w-230 {
  width: 230px !important;
}

.w-530 {
  width: 530px !important;
}

.w-600 {
  width: 600px !important;
}

/* 尺寸 - 高度 */
.h50 {
  height: 50px !important;
}

.h-44 {
  height: 44px !important;
}

.h-46 {
  height: 46px !important;
}

.h-52 {
  height: 52px !important;
}

.h-54 {
  height: 54px !important;
}

.h-495 {
  height: 495px !important;
}

/* 边框 */
.br-5 {
  border-radius: 5px;
}

.br-15 {
  border-radius: 15px;
}

/* 其他 */
.pointer {
  cursor: pointer;
}

.fit-cover {
  object-fit: cover;
}

/* 链接样式 */
a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

/* 容器 */
.main-wrap {
  width: 1200px;
  margin: 0 auto;
}